package com.wei.service;

import com.wei.pojo.BaseResult;
import com.wei.pojo.Tb_goods;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface GoodsService {

  BaseResult  findAll(@RequestParam("page")Integer page,@RequestParam("size")Integer size);

    Tb_goods findById(Integer id);

    int deleteById(Integer id);

    int saveOrUpdate(Tb_goods tb_goods);
}
